package com.kinghunt.misp.dal.dao.devicex;

import com.kinghunt.misp.dal.model.devicex.DeviceRepairDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 设备维修表
* Created by Mybatis Generator on 2025/02/28
*/
public interface DeviceRepairDAO {
    int deleteByPrimaryKey(Long repairId);

    int insert(DeviceRepairDO record);

    int insertSelective(DeviceRepairDO record);

    DeviceRepairDO selectByPrimaryKey(Long repairId);

    int updateByPrimaryKeySelective(DeviceRepairDO record);

    int updateByPrimaryKey(DeviceRepairDO record);
    List<DeviceRepairDO> selectDeviceRepairList(@Param("deviceRepair")DeviceRepairDO record,
                                    @Param("offset")int offset,
                                    @Param("size")int size);

    int selectDeviceRepairListCount(@Param("deviceRepair")DeviceRepairDO record);
}